<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PageList.ascx.cs" Inherits="IGlobalist.Cms.Admin.Control.PageList" %>
        <asp:GridView ID="gvPage" runat="server"  AllowPaging="false" AutoGenerateColumns="False"
            CellPadding="6" ForeColor="#333333"  OnRowCommand="gvPage_RowCommand">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <Columns>
                <asp:TemplateField HeaderText="Name">
                    <ItemTemplate>
                        
                <asp:Label ID="lblName" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Name") %>'></asp:Label>
                   </ItemTemplate>
                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="Description">
                    <ItemTemplate>
                       <asp:Label ID="lblDescrption" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Description") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
              
                
                <asp:TemplateField HeaderText="Order">
                    <ItemTemplate>
                       <asp:Label ID="lblOrder" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Order") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="Action">                                
                    <ItemTemplate>
                        <asp:ImageButton ID="imgEdit" ImageUrl="~/Admin/Images/edit.gif"  runat="server"   CommandName="editPage" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.ID") %>' />
                <asp:ImageButton ID="ingDelete" ImageUrl="~/Admin/Images/delete.gif" runat="server" OnClientClick="return confirm('Are you sure you want to delete?');"  CommandName="delPage" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.ID") %>' />
                    </ItemTemplate>
                </asp:TemplateField>                                   
                                                                          
            </Columns>
            
        </asp:GridView>   
                    